package com.example.canalclientsync.canal.mapper.db2;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.canalclientsync.canal.po.ProjectMember;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chen.cr
 * @since 2023/9/21
 */
@Mapper
public interface ProjectUserRelationMapper extends BaseMapper<ProjectMember> {

//    @Select("SELECT * FROM t_project_user_rel WHERE project_id = #{projectId} AND tenant_id = #{tenantId}")
    List<ProjectMember> findByProjectIdAndTenantId(int projectId, String tenantId);

}
